package com.hospital.payment.module.feign;

import com.hospital.common.base.Result;
import com.hospital.common.config.FeignConfig;
import com.hospital.common.dto.diagnosis.module.ChatStatusDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "diagnosis-module", path = "/chat",configuration = FeignConfig.class)
public interface DiagnosisModuleFeign {
    @PutMapping("/updateChatStatus")
    Result<?> updateChatStatus(@RequestBody ChatStatusDTO chatStatusDTO);
}
